#include "WPILib.h"
#include "Basket.h"

#ifndef TARGETING_CAMERA_H
#define TARGETING_CAMERA_H

class TargetingCamera
{
	static const float CAMERA_FOV 				= 0.820304748;
	static const int IMAGE_WIDTH 				= 320;
	static const int IMAGE_HEIGHT 				= 240;
	static const float WIDTH_OF_TARGET_FEET 	= 2.0;
	
	SmartDashboard* dashboard;
	NetworkTable* team830Table;
	
public:	
	
	TargetingCamera();
	
	// Finds the distance, pitch offset, and yaw offset 
	// of the optimal target. If there is none, returns false.
	bool FindTarget(float& distance);
};

#endif
